Slightly rework clip handling
authorTimm Bäder <mail@baedert.org>
Fri, 5 May 2017 12:06:01 +0000 (14:06 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:12 +0000 (21:27 -0400)
commitede6f2ab59021d56329c4f9f85ced8fe26134f8a
tree4ebfb5e7d9b3f4eec68d149ed231886e398aa1e2
parent28b18129b5f520b5b98f93c3ee5cf9b793095b8d
Slightly rework clip handling

always initialize clips to the (content) allocation, don't walk up the
widget hierarchy in gtk_widget_set_clip, implement
gtk_widget_size_allocate in GtkSeparator. This way we don't end up using
uninitialized clip values.

The entire clip handling is up for major rework since we can't and don't
want to force every single widget to call _set_clip in size-allocate
implementations.
gtk/gtkactionbar.c
gtk/gtkcheckbutton.c
gtk/gtkcombobox.c
gtk/gtkgrid.c
gtk/gtkicon.c
gtk/gtklevelbar.c
gtk/gtknotebook.c
gtk/gtkseparator.c
gtk/gtkspinbutton.c
gtk/gtkstack.c
gtk/gtkwidget.c